package cn.mysource;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient
//开启config服务端
@EnableConfigServer
public class ConfigApp {

    public static void main(String[] args) {

        SpringApplication.run(ConfigApp.class,args);

    }

}
